//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain.vo;

public class TaskParam {
    private Integer state;
    private Long platformId;
    private String taskName;

    public TaskParam() {
    }

    public Integer getState() {
        return this.state;
    }

    public Long getPlatformId() {
        return this.platformId;
    }

    public String getTaskName() {
        return this.taskName;
    }

    public TaskParam setState(final Integer state) {
        this.state = state;
        return this;
    }

    public TaskParam setPlatformId(final Long platformId) {
        this.platformId = platformId;
        return this;
    }

    public TaskParam setTaskName(final String taskName) {
        this.taskName = taskName;
        return this;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof TaskParam)) {
            return false;
        } else {
            TaskParam other = (TaskParam)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label47: {
                    Object this$state = this.getState();
                    Object other$state = other.getState();
                    if (this$state == null) {
                        if (other$state == null) {
                            break label47;
                        }
                    } else if (this$state.equals(other$state)) {
                        break label47;
                    }

                    return false;
                }

                Object this$platformId = this.getPlatformId();
                Object other$platformId = other.getPlatformId();
                if (this$platformId == null) {
                    if (other$platformId != null) {
                        return false;
                    }
                } else if (!this$platformId.equals(other$platformId)) {
                    return false;
                }

                Object this$taskName = this.getTaskName();
                Object other$taskName = other.getTaskName();
                if (this$taskName == null) {
                    if (other$taskName != null) {
                        return false;
                    }
                } else if (!this$taskName.equals(other$taskName)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof TaskParam;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $state = this.getState();
        int result1 = result * 59 + ($state == null ? 43 : $state.hashCode());
        Object $platformId = this.getPlatformId();
        result1 = result * 59 + ($platformId == null ? 43 : $platformId.hashCode());
        Object $taskName = this.getTaskName();
        result1 = result * 59 + ($taskName == null ? 43 : $taskName.hashCode());
        return result1;
    }

    public String toString() {
        return "TaskParam(state=" + this.getState() + ", platformId=" + this.getPlatformId() + ", taskName=" + this.getTaskName() + ")";
    }
}
